package com.woyou.bean;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

/**
 * 店铺详情实体
 * 
 * @author shenzhou 2014年12月23日
 */
@SuppressWarnings("serial")
public class ShopDetail extends SuperBean {

	private String sId = ""; // 商铺编号
	private String sName = ""; // 商铺名称
	private float score; // 店铺星级0–10
	private int isCollection; // 是否已收藏 (1:已收藏,2:未收藏)
	private String addr = ""; // 地址
	private String phone = ""; // 电话
	private String info = ""; // 简介
	private String notice = ""; // 公告
	private String avgReceive = ""; // 平均接单时间(单位:分钟)
	private String avgSend = ""; // 平均送出时间(单位:分钟)
	private String avgDeliver = ""; // 商家平均送达时间(单位:分钟)
	private String bookedTime = ""; // 店铺第一个可预约时间的字符串描述(除去尽快送达)
	private String hours = ""; // 营业时间(9:00-14:00 16:00-20:00)
	private String[] scopeList = null; // 店铺分类
	private String monthSales = ""; // 月销售量
	private String commentsNum = ""; // 评论人数
	private String modeId = ""; // 阶梯价ID，计算距离超出配送范围返回-1
	private float sendFee; // 配送费，计算距离超出配送范围返回-1
	private float toSendPrice; // 起送价，计算距离超出配送范围返回-1
	private float mealsBoxFee; // 餐盒费单价
	private int mealsBoxFeeType; // 餐盒费类型（1按订单算、2按商品数量算、0无餐盒费）
	private String shopPic; // 店铺logo Url
	private List<Support> supportList = new ArrayList<Support>(); // 店铺支持（多行内容中间使用换行符“\n”）
	private List<String> picList = new ArrayList<String>(); // 宣传照
	private List<GoodsType> goodsTypeList = new ArrayList<GoodsType>(); // 商品类型
	private int state; // 营业状态（1营业，2休息，3繁忙,4超出范围）
	private float lat; // 纬度
	private float lng; // 纬度
	private int isOnlinePay;// 是否支持在线支付

	public String getShopPic() {
		return shopPic;
	}

	public void setShopPic(String shopPic) {
		this.shopPic = shopPic;
	}

	public String getsId() {
		return sId;
	}

	public void setsId(String sId) {
		this.sId = sId;
	}

	public String getsName() {
		return sName;
	}

	public void setsName(String sName) {
		this.sName = sName;
	}

	public float getScore() {
		return score;
	}

	public void setScore(float score) {
		this.score = score;
	}

	public int getIsCollection() {
		return isCollection;
	}

	public void setIsCollection(int isCollection) {
		this.isCollection = isCollection;
	}

	public String getAddr() {
		return addr;
	}

	public void setAddr(String addr) {
		this.addr = addr;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getInfo() {
		return info;
	}

	public void setInfo(String info) {
		this.info = info;
	}

	public String getNotice() {
		return notice;
	}

	public void setNotice(String notice) {
		this.notice = notice;
	}

	public String getAvgReceive() {
		return avgReceive;
	}

	public void setAvgReceive(String avgReceive) {
		this.avgReceive = avgReceive;
	}

	public String getAvgSend() {
		return avgSend;
	}

	public void setAvgSend(String avgSend) {
		this.avgSend = avgSend;
	}

	public String getAvgDeliver() {
		return avgDeliver;
	}

	public void setAvgDeliver(String avgDeliver) {
		this.avgDeliver = avgDeliver;
	}

	public String getBookedTime() {
		return bookedTime;
	}

	public void setBookedTime(String bookedTime) {
		this.bookedTime = bookedTime;
	}

	public String getHours() {
		return hours;
	}

	public void setHours(String hours) {
		this.hours = hours;
	}

	public String[] getScopeList() {
		return scopeList;
	}

	public void setScopeList(String[] scopeList) {
		this.scopeList = scopeList;
	}

	public String getMonthSales() {
		return monthSales;
	}

	public void setMonthSales(String monthSales) {
		this.monthSales = monthSales;
	}

	public String getCommentsNum() {
		return commentsNum;
	}

	public void setCommentsNum(String commentsNum) {
		this.commentsNum = commentsNum;
	}

	public String getModeId() {
		return modeId;
	}

	public void setModeId(String modeId) {
		this.modeId = modeId;
	}

	public float getSendFee() {
		return sendFee;
	}

	public void setSendFee(float sendFee) {
		this.sendFee = sendFee;
	}

	public float getToSendPrice() {
		return toSendPrice;
	}

	public void setToSendPrice(float toSendPrice) {
		this.toSendPrice = toSendPrice;
	}

	public float getMealsBoxFee() {
		return mealsBoxFee;
	}

	public void setMealsBoxFee(float mealsBoxFee) {
		this.mealsBoxFee = mealsBoxFee;
	}

	public int getMealsBoxFeeType() {
		return mealsBoxFeeType;
	}

	public void setMealsBoxFeeType(int mealsBoxFeeType) {
		this.mealsBoxFeeType = mealsBoxFeeType;
	}

	public List<Support> getSupportList() {
		return supportList;
	}

	public void setSupportList(List<Support> supportList) {
		this.supportList = supportList;
	}

	public List<String> getPicList() {
		return picList;
	}

	public void setPicList(List<String> picList) {
		this.picList = picList;
	}

	public List<GoodsType> getGoodsTypeList() {
		return goodsTypeList;
	}

	public void setGoodsTypeList(List<GoodsType> goodsTypeList) {
		this.goodsTypeList = goodsTypeList;
	}

	public int getState() {
		return state;
	}

	public void setState(int state) {
		this.state = state;
	}

	public float getLat() {
		return lat;
	}

	public void setLat(float lat) {
		this.lat = lat;
	}

	public float getLng() {
		return lng;
	}

	public void setLng(float lng) {
		this.lng = lng;
	}

	@Override
	public String toString() {
		return "ShopDetail [sId=" + sId + ", sName=" + sName + ", score=" + score + ", isCollection=" + isCollection
				+ ", addr=" + addr + ", phone=" + phone + ", info=" + info + ", notice=" + notice + ", avgReceive="
				+ avgReceive + ", avgSend=" + avgSend + ", avgDeliver=" + avgDeliver + ", bookedTime=" + bookedTime
				+ ", hours=" + hours + ", scopeList=" + Arrays.toString(scopeList) + ", monthSales=" + monthSales
				+ ", commentsNum=" + commentsNum + ", modeId=" + modeId + ", sendFee=" + sendFee + ", toSendPrice="
				+ toSendPrice + ", mealsBoxFee=" + mealsBoxFee + ", mealsBoxFeeType=" + mealsBoxFeeType
				+ ", supportList=" + supportList + ", picList=" + picList + ", goodsTypeList=" + goodsTypeList
				+ ", state=" + state + ", lat=" + lat + ", lng=" + lng + "]";
	}

	/**
	 * @return the isOnlinePay
	 */
	public int getIsOnlinePay() {
		return isOnlinePay;
	}

	/**
	 * @param isOnlinePay
	 *            the isOnlinePay to set
	 */
	public void setIsOnlinePay(int isOnlinePay) {
		this.isOnlinePay = isOnlinePay;
	}

}
